package com.eascs.web.o2o.web.util;

import com.eascs.tag.entity.Resources;
import com.eascs.workflow.common.entity.sys.SysResources;
/**
 * @author bao.pan 2017年6月8日 上午10:56:38
 */
public class RsourcesTransSysRsources {
	public static Resources rsTsysrs(SysResources sys) {
		Resources rs=new Resources();
		rs.setId(sys.getId());
		rs.setCreateTime(sys.getCreateTime());
		rs.setCreator(sys.getCreator());
		rs.setDescription(sys.getDescription());
		rs.setParentId(sys.getParentId());
		rs.setResourceCode(sys.getResourceCode());
		rs.setResourceName(sys.getResourceName());
		rs.setResourceType(sys.getResourceType());
		rs.setResourceUrl(sys.getResourceUrl());
		rs.setSort(sys.getSort());
		rs.setUpdateTime(sys.getUpdateTime());
		rs.setUpdator(sys.getUpdator());
		return rs;
	}
}
